package com.effectivcrm.domain.ui

import java.io.Serializable;





import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import groovy.transform.ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
@ToString(includeNames=true)
@XStreamAlias("control")
class Control  implements Serializable {
	@XStreamAsAttribute
	String styleClass;
	@XStreamAsAttribute
	String type;
	@XStreamAsAttribute
	String id;
	@XStreamAsAttribute
	String name;
	@XStreamAsAttribute
	String placeHolder;
	@XStreamAsAttribute
	String value;
	@XStreamAsAttribute	
	String ajaxUrl;
	@XStreamAsAttribute
	int rows = 3;
	@XStreamAsAttribute
	int cols;
	
	@XStreamImplicit
	List<Validation> validations;
}
